package org.example.travel_web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.travel_web.dto.PageResult;
import org.example.travel_web.dto.comment.*;
import org.example.travel_web.entity.CommentsET;

/**
 * @author 23591
 * @description 针对表【travel_comments(用于存储用户的评论信息)】的数据库操作Service
 * @createDate 2025-01-22 14:10:11
 */
public interface CommentsService extends IService<CommentsET> {

    PageResult<CommentPageResp> pageResult(PageReq pageReq);

    CommentDetail getCommentDetail(Integer id);

    void deleteComment(Integer[] ids);

    void updateCommentStatus(Integer id);

    PageResult<UserCommentPageResp> userCommentPageResult(UserCommentPageReq req);

    void addComment(CommentReq req);
}
